/**
 * 
 */



package com.UMLife.me.action;

import com.UMLife.me.global.Global;
import com.UMLife.me.ui.AboutItUI;
import de.enough.polish.ui.Command;
import de.enough.polish.ui.CommandListener;
import de.enough.polish.ui.Displayable;





/**
 * Class Information:
 * 
 * @Author yangguang
 * @Date 2009-11-8
 * @Description
 * @MustDos
 */
public class AboutItUIAction implements CommandListener
{
	
	public AboutItUIAction(AboutItUI ui)
	{
		this.cmdBack = Global.getCmdBack();
		ui.addCommand(this.cmdBack);
		
	}
	
	public void commandAction(Command c, Displayable d)
	{
		if (c == this.cmdBack)
		{
			Global.getGlobalDisplay().setCurrent(Global.getMainMenu());
		}
		
	}
	
	private Command	cmdBack;
	
}
